<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
async_test(function(t) {
    function createPerformanceObserver() {
      let observer = new PerformanceObserver(function() {
          t.done();
      });
      observer.observe({entryTypes: ['mark']});
    }
    createPerformanceObserver();
    gc();
    performance.mark('mark_1');
}, 'Callback should be invoked after gc against PerformanceObserver.');
</script>
